//微信登录获取TOKEN
export const wxlogin = (data) => uni.$u.http.post('/getWxToken', data)

//微信手机号授权
export const authMobile = (data) => uni.$u.http.post('/authMobile', data)

//我的地址
export const getMyAddressList = (data) => uni.$u.http.post('/self/myAddressList', data)

//新增/编辑收货地址
export const setEditAddress = (data) => uni.$u.http.post('/self/editAddress', data)

//删除收货地址
export const delAddress = (data) => uni.$u.http.post('/self/delAddress', data)

//地址详情
export const getAddressInfo = (data) => uni.$u.http.post('/self/addressInfo', data)

//获取地区列表
export const getAreaList = (data) => uni.$u.http.post('/areaList', data,{custom:{load:false}})

//获取下单商品内容
export const preOrderContent = (data) => uni.$u.http.post('/inquiry/preOrderContent', data)

//生成订单
export const createOrder = (data) => uni.$u.http.post('/inquiry/createOrder', data)

//图片是否违规检测
export const postImgCheck = (data) => uni.$u.http.post('/imgCheck', data)

//获取七牛token
export const getQiNiuToken = (data) => uni.$u.http.post('/qiNiuToken', data)

//获取订单列表
export const getOrderList = (data) => uni.$u.http.post('/inquiry/orderList', data)


//获取订单详情
export const getOrderDetail = (data) => uni.$u.http.post('/inquiry/orderDetail', data)

//订单修改
export const editOrder = (data) => uni.$u.http.post('/self/editOrder', data)

//订单支付页面
export const waitPayData = (data) => uni.$u.http.post('/self/waitPayData', data)

//订单取消理由
export const orderCancelData = (data) => uni.$u.http.post('/self/orderCancelData', data)

//订单取消理由
export const orderDeliverData = (data) => uni.$u.http.post('/self/orderDeliverData', data)

//商品一级分类
export const getClassList = (data) => uni.$u.http.post('/inquiry/classList', data)


//商品二级分类
export const getSubClassList = (data) => uni.$u.http.post('/inquiry/subClassList', data)


//牌号列表
export const getGoodsSnList = (data) => uni.$u.http.post('/inquiry/goodsSnList', data)

//询价提交
export const addInquiry = (data) => uni.$u.http.post('/inquiry/addInquiry', data)

//设置消息成已读
export const messageSetView = (data) => uni.$u.http.post('/self/messageSetView', data)

//站内消息列表
export const messageList = (data) => uni.$u.http.post('/self/messageList', data)

//询价列表
export const getInquiryList = (data) => uni.$u.http.post('/inquiry/inquiryList', data)

//询价报价
export const editPrice = (data) => uni.$u.http.post('/inquiry/editPrice', data)

//取消询价
export const cancelInquiry = (data) => uni.$u.http.post('/inquiry/cancelInquiry', data)


//询价详情
export const inquiryDetail = (data) => uni.$u.http.post('/inquiry/inquiryDetail', data)

//询价关注
export const setMyAttention = (data) => uni.$u.http.post('/self/setMyAttention', data)


//取消关注
export const delMyAttention = (data) => uni.$u.http.post('/self/delMyAttention', data)

//合同
export const createContract = (data) => uni.$u.http.post('/self/createContract', data)

//获取分享码
export const shareCode = (data) => uni.$u.http.post('/self/shareCode', data)

//获取部门数据
export const getDepartment = (data) => uni.$u.http.post('/user/getDepartment', data)

//获取角色数据
export const getRole = (data) => uni.$u.http.post('/user/getRole', data)

//修改角色数据
export const editDepartment = (data) => uni.$u.http.post('/user/editDepartment', data)

//设置用户信息
export const editUser = (data) => uni.$u.http.post('/user/editUser', data)

//设置角色信息
export const editRole = (data) => uni.$u.http.post('/user/editRole', data)

//获取权限数据
export const getPermissions = (data) => uni.$u.http.post('/user/getPermissions', data)

//获取用户列表
export const getUserList = (data) => uni.$u.http.post('/user/userList', data)

//获取用户详情
export const userDetail = (data) => uni.$u.http.post('/user/userDetail', data)

//获取商户详情
export const storeDetail = (data) => uni.$u.http.post('/self/storeDetail', data)

//删除部门
export const delDepartment = (data) => uni.$u.http.post('/user/delDepartment', data)

//删除角色
export const delRole = (data) => uni.$u.http.post('/user/delRole', data)

//个人中心数据
export const dataStatistics = (data) => uni.$u.http.post('/self/dataStatistics', data,{custom:{load:false}})

//获取用户信息
export const getUserInfo = (data) => uni.$u.http.post('/self/userInfo', data)

//获取商品规格
export const getSpecList = (data) => uni.$u.http.post('/inquiry/specList', data)


//获取店铺分类
export const getGoodsCate = (data) => uni.$u.http.post('/self/goodsCate', data)



//协议列表
export const agreementList = (data) => uni.$u.http.post('/self/agreementList', data)

//协议详情
export const agreementDetail = (data) => uni.$u.http.post('/self/agreementDetail', data)

//照片
export const settingInfo = (data) => uni.$u.http.post('/settingInfo', data)


//联系报价人
export const contactSeller = (data) => uni.$u.http.post('/inquiry/contactSeller', data)

//生成Word
export const createContractByWord = (data) => uni.$u.http.post('/self/createContractByWord', data)

//轮播图
export const adList = (data) => uni.$u.http.post('/inquiry/adList', data)

//提现
export const balanceInfo = (data) => uni.$u.http.post('/self/balanceInfo', data)

//提现
export const cashOut = (data) => uni.$u.http.post('/self/cashOut', data)

//提现列表
export const cashOutList = (data) => uni.$u.http.post('/self/cashOutList', data)


//获取商家类型
export const getStoreType = (data) => uni.$u.http.post('/self/storeType', data)

//营业执照
export const checkBusinessLicense = (data) => uni.$u.http.post('/self/checkBusinessLicense', data)

//下载商家授权书
export const downLoadEmpower = (data) => uni.$u.http.post('/self/downLoadEmpower', data)


//服务费列表
export const serviceChargeList = (data) => uni.$u.http.post('/self/serviceChargeList', data)


//服务费
export const serviceCharge = (data) => uni.$u.http.post('/self/serviceCharge', data)


//设置关联
export const setGlCompany = (data) => uni.$u.http.post('/self/setGlCompany', data)

//增加关联
export const addGlCompany = (data) => uni.$u.http.post('/self/addGlCompany', data)

//搜索公司列表数据
export const companyList = (data) => uni.$u.http.post('/self/companyList', data)

//人员列表
export const companyUser = (data) => uni.$u.http.post('/self/companyUser', data)

//认证公司子账户
export const subCompanyUser = (data) => uni.$u.http.post('/self/subCompanyUser', data)

//子账户详情
export const subUserInfo = (data) => uni.$u.http.post('/self/bindCompanyData', data)

//设置公司和产品线
export const setSubCompanyGoods = (data) => uni.$u.http.post('/self/setSubCompanyGoods', data)

//获取可分配的公司列表数据
export const getSubCanSetCompany = (data) => uni.$u.http.post('/self/getSubCanSetCompany', data)

//子账户全部解绑
export const subDelAllCompany = (data) => uni.$u.http.post('/self/subDelAllCompany', data)

//登录者的关联公司列表
export const userSellerStore = (data) => uni.$u.http.post('/self/userSellerStore', data)

//设置默认卖家店铺
export const setDefaultStore = (data) => uni.$u.http.post('/self/setDefaultStore', data)

//设置默认卖家店铺
export const getExamineData = (data) => uni.$u.http.post('/self/getExamineData', data)


//设置默认卖家店铺
export const createExamineData = (data) => uni.$u.http.post('/self/createExamineData', data)

//客服数据
export const customerService = (data) => uni.$u.http.post('/self/customerService', data)


//检测当前用户是否拥有报价的产品线权限
export const checkPriceGoodsCate = (data) => uni.$u.http.post('/self/checkPriceGoodsCate', data)



//检测系统营业时间
export const checkStoreStatus = (data) => uni.$u.http.post('/self/checkStoreStatus', data)
// 获取指引数据
export const getGuideDataAPI = (data) => uni.$u.http.post('/user/getGuideData', data)



export const addOperateGuide = (data) => uni.$u.http.post('/user/addOperateGuide', data)

// 商家类型对应限制的商品数
export const storeTypeList = (data) => uni.$u.http.post('/self/storeTypeList', data)

// 商家商品详情
export const goodsDetail = (data) => uni.$u.http.post('/self/goodsDetail', data)

// 商品调价
export const editGoodsBathPriceAPI = (data) => uni.$u.http.post('/goodsBathPrice', data)

// 商品列表
export const pcGoodsList = (data) => uni.$u.http.post('/store/pcGoodsList', data)

// 询价列表
export const inquiryList = (data) => uni.$u.http.post('/inquiryList', data)

// 店铺列表
export const getStoreList = (data) => uni.$u.http.post('/storeList', data)

// 店铺所在地
export const storeAreaList = (data) => uni.$u.http.post('/storeAreaList', data)

// 商品交货地
export const goodsSearchByArea = (data) => uni.$u.http.post('/goodsSearchByArea', data)

// 询价交货地
export const inquiryReceiveAreaList = (data) => uni.$u.http.post('/inquiryReceiveAreaList', data)

 //一级二级分类
export const inquiryCategoryList = (data) => uni.$u.http.post('/inquiryCategoryList', data)

export const goodsSearchByCate = (data) => uni.$u.http.post('/goodsSearchByCate', data)

export const storeCategoryList = (data) => uni.$u.http.post('/storeCategoryList', data)

//厂家
export const inquiryBrandList = (data) => uni.$u.http.post('/inquiryBrandList', data) 

export const goodsSearchByBrand = (data) => uni.$u.http.post('/goodsSearchByBrand', data) 

//询价历史记录
export const historyInquiryData = (data) => uni.$u.http.post('/inquiry/historyInquiryData', data) 

//首页
export const indexData = (data) => uni.$u.http.post('/indexData', data) 

// 价格行情分类
export const categoryPriceTypes = (data) => uni.$u.http.post('/categoryPriceTypes', data) 

// 价格行情
export const categoryPrice = (data) => uni.$u.http.post('/categoryPrice', data) 


// 历史搜索
export const historicalQuery = (data) => uni.$u.http.post('/self/historicalQuery', data,{custom:{load:false}}) 

// 新增历史搜索
export const addHistoricalQuery = (data) => uni.$u.http.post('/self/addHistoricalQuery', data,{custom:{load:false}}) 

// 删除历史搜索
export const delHistoricalQuery = (data) => uni.$u.http.post('/self/delHistoricalQuery', data) 


// 获取商品价格趋势
export const goodPriceLog = (data) => uni.$u.http.post('/goodPriceLog', data) 

// 获取新闻列表
export const getNewsList = (data) => uni.$u.http.post('/news/list', data) 


// 获取新闻详情
export const getNewsDetail = (data) => uni.$u.http.post('/news/detail', data) 

// 获取展会筛选条件
export const getNewsScreenAPI = (data) => uni.$u.http.post('/newsScreen', data) 


// 我要参展
export const addSignupAPI = (data) => uni.$u.http.post('/addForm', data) 

// 商品详情
export const goodsInfo = (data) => uni.$u.http.post('/goodsInfo', data) 


// 更新运费
export const updateFreight = (data) => uni.$u.http.post('/self/updateFreight', data) 


export const priceMapping = (data) => uni.$u.http.post('/priceMapping', data) 

export const priceMappingDetail = (data) => uni.$u.http.post('/priceMappingDetail', data) 

export const login = (data) => uni.$u.http.post('/login', data) 

export const sendSms = (data) => uni.$u.http.post('/pcSendSms', data) 

export const register = (data) => uni.$u.http.post('/register', data) 

export const editPassword = (data) => uni.$u.http.post('/editPassword', data) 

export const getWXLoginInfo = (data) => uni.$u.http.post('/getUserBiding', data) 

export const getWxTokenByUnionId = (data) => uni.$u.http.post('/getWxTokenByUnionId', data) 

export const lastInquiry = (data) => uni.$u.http.post('/inquiry/lastInquiry', data) 

export const wxBindAccount = (data) => uni.$u.http.post('/wxBindAccount', data) 


export const commonData = (data) => uni.$u.http.post('/commonData', data) 

export const pageSeo = (data) => uni.$u.http.post('/pageSeo', data) 

export const checkIsBusiness = (data) => uni.$u.http.post('/checkIsBusiness', data) 

export const goodsSet = (data) => uni.$u.http.post('/self/goodsSet', data) 


export const specialDetail = (data) => uni.$u.http.post('/inquiry/specialDetail', data) 

export const getInteractionList = (data) => uni.$u.http.post('/inquiry/getInteractionList', data) 

export const addInteractionData = (data) => uni.$u.http.post('/inquiry/addInteractionData', data) 

export const topicSubClassList = (data) => uni.$u.http.post('/inquiry/topicSubClassList', data) 

export const orderDeliverDetail = (data) => uni.$u.http.post('/inquiry/orderDeliverDetail', data) 

export const getInvoiceConfigList = (data) => uni.$u.http.post('/self/getInvoiceConfigList', data) 

export const waitInvoiceList = (data) => uni.$u.http.post('/self/waitInvoiceList', data) 

export const invoiceList = (data) => uni.$u.http.post('/self/invoiceList', data) 

export const updateInvoiceInfo = (data) => uni.$u.http.post('/self/updateInvoiceInfo', data) 

export const getInvoiceConfigDetail = (data) => uni.$u.http.post('/self/getInvoiceConfigDetail', data) 

export const planGoodsList = (data) => uni.$u.http.post('/self/planGoodsList', data) 

export const getPrintImage = (data) => uni.$u.http.post('/self/getPrintImage', data) 


export const setScanCodeLog = (data) => uni.$u.http.post('/setScanCodeLog', data) 

export const getBannerList = (data) => uni.$u.http.post('/getBannerList', data) 

export const addEvaluate = (data) => uni.$u.http.post('/self/addEvaluate', data) 

export const evaluateInfo = (data) => uni.$u.http.post('/self/evaluateInfo', data) 
// 名片分享详情
export const getCardInfoAPI = (data) => uni.$u.http.post('/self/getCardInfo', data) 
// 电子名片视频列表数据
export const getCardListAPI = (data) => uni.$u.http.post('/video/cardList', data) 
// 获取企业文档列表
export const getCardDocumentListAPI = (data) => uni.$u.http.post('/getCardDocumentList', data) 
// 电子名片文档查看记录
export const setCardDocLogAPI = (data) => uni.$u.http.post('/setCardDocumentLog', data) 



